home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / u_man / cat3 / Tm / tmsgigrid.z / tmsgigrid
Encoding:
Text File  |  1998-10-30  |  7.1 KB  |  199 lines

  1.  
  2.  
  3.  
  4. TTTTmmmmSSSSggggiiiiGGGGrrrriiiidddd((((3333TTTTmmmm))))                                                  TTTTmmmmSSSSggggiiiiGGGGrrrriiiidddd((((3333TTTTmmmm))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      TTTTmmmmSSSSggggiiiiGGGGrrrriiiidddd - the SGI Grid widget class
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ssssggggiiiiGGGGrrrriiiidddd  pathName [options]
  13.  
  14.  
  15. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  16.      This is the _t_c_l binding to the SGI sgGrid widget.
  17.  
  18.  
  19. CCCCLLLLAAAASSSSSSSSEEEESSSS
  20.      The class name for resource files is SSSSggggGGGGrrrriiiidddd.... Resources are inherited from
  21.      CCCCoooorrrreeee,,,, CCCCoooommmmppppoooossssiiiitttteeee,,,, CCCCoooonnnnssssttttrrrraaaaiiiinnnntttt,,,, XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr,,,, and XXXXmmmmBBBBuuuulllllllleeeettttiiiinnnnBBBBooooaaaarrrrdddd classes.
  22.      Methods are inherited from TTTTmmmmCCCCoooorrrreeee....
  23.  
  24.  
  25. RRRREEEESSSSOOOOUUUURRRRCCCCEEEESSSS
  26.      New resources for this class are:
  27.  
  28.           numRows
  29.           numColumns
  30.           showGrid
  31.           autoLayout
  32.           defaultLayout
  33.           gravity
  34.           resizeVertical
  35.           resizeHorizontal
  36.           row
  37.           column
  38.  
  39.  
  40.      nnnnuuuummmmRRRRoooowwwwssss
  41.           Specifies the number of rows in the grid. This resource must be
  42.           specified at widget creation time. The default is 1.
  43.  
  44.  
  45.      nnnnuuuummmmCCCCoooolllluuuummmmnnnnssss
  46.           Specifies the number of columns in the grid. This resource must be
  47.           specified at widget creation time. The default is 1.
  48.  
  49.  
  50.      sssshhhhoooowwwwGGGGrrrriiiidddd
  51.           When TRUE, the SgGrid widget visibly displays the boundaries of each
  52.           cell in the grid. This can be useful for debugging resize
  53.           specifications. The default is FALSE.
  54.  
  55.  
  56.      aaaauuuuttttooooLLLLaaaayyyyoooouuuutttt
  57.           When TRUE (the default), all rows or columns that have a non-zero
  58.           resizability are sized according to the column. If this resource is
  59.           FALSE, all widgets in resizable rows or columns are sized according
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. TTTTmmmmSSSSggggiiiiGGGGrrrriiiidddd((((3333TTTTmmmm))))                                                  TTTTmmmmSSSSggggiiiiGGGGrrrriiiidddd((((3333TTTTmmmm))))
  71.  
  72.  
  73.  
  74.           to a relative resizability factor (see SgGridSetRowResizability and
  75.           SgGridSetColumnResizability, below). By default, this factor is "1"
  76.           for all widgets, leading to an equal sizing strategy.
  77.  
  78.  
  79.      ddddeeeeffffaaaauuuullllttttLLLLaaaayyyyoooouuuutttt
  80.           Specifies a default spacing between rows and columns.  This value
  81.           can be overriden on a per row/column basis using
  82.           SgGridSetColumnMargin or SgGridSetRowMargin.
  83.  
  84.  
  85.      ggggrrrraaaavvvviiiittttyyyy
  86.           If a child widget is not resizable, and is smaller than the cell
  87.           that contains it, the child's gravity controls its position within
  88.           the cell.  Gravity may be any of the gravity values defined by Xlib
  89.           except StaticGravity and ForgetGravity.  The default is
  90.           NorthWestGravity; Note that gravity has no effect if both
  91.           verticalResize and horizontalResize are TRUE.
  92.  
  93.  
  94.      rrrreeeessssiiiizzzzeeeeVVVVeeeerrrrttttiiiiccccaaaallll
  95.           If TRUE, the child will be resized to fill the cell containing it in
  96.           the vertical direction. The default is TRUE;
  97.  
  98.  
  99.      rrrreeeessssiiiizzzzeeeeHHHHoooorrrriiiizzzzoooonnnnttttaaaallll
  100.           If TRUE, the child will be resized to fill the cell containing it in
  101.           the horizontal direction. The default is TRUE;
  102.  
  103.  
  104.      rrrroooowwww  Determines the row of the grid in which the child is placed. If no
  105.           row is specified, the child will be placed in a cell randomly
  106.           selected from those not currently occupied.
  107.  
  108.  
  109.      ccccoooolllluuuummmmnnnn
  110.           Determines the column of the grid in which the child is placed. If
  111.           no row is specified, the child will be placed in a cell randomly
  112.           selected from those not currently occupied.
  113.  
  114.  
  115. MMMMEEEETTTTHHHHOOOODDDDSSSS
  116.      New methods for this class are:
  117.  
  118.           columnMargin
  119.           columnResizable
  120.           rowMargin
  121.           rowResizable
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. TTTTmmmmSSSSggggiiiiGGGGrrrriiiidddd((((3333TTTTmmmm))))                                                  TTTTmmmmSSSSggggiiiiGGGGrrrriiiidddd((((3333TTTTmmmm))))
  137.  
  138.  
  139.  
  140.      ccccoooolllluuuummmmnnnnMMMMaaaarrrrggggiiiinnnn column margin
  141.           Set the margin width of the specified column.
  142.  
  143.  
  144.      ccccoooolllluuuummmmnnnnRRRReeeessssiiiizzzzaaaabbbblllleeee column factor
  145.           This function sets the resizability of individual columns, and works
  146.           in a similar fashion as rowResizable.
  147.  
  148.  
  149.      rrrroooowwwwMMMMaaaarrrrggggiiiinnnn row margin
  150.           Set the margin height of the specified row. Each row and column can
  151.           have a margin between it's edge and the widgets the row or column
  152.           contains. The margin is added to both sides of each row or column,
  153.           so adding a 1 pixel marign grows the relevant dimension of the
  154.           affected row or column by 2 pixels.
  155.  
  156.  
  157.      rrrroooowwwwRRRReeeessssiiiizzzzaaaabbbblllleeee row factor
  158.           Set the degree to which the specified row can be resized.  The
  159.           default is a value of 1 for all rows, which means that all rows will
  160.           be equally resizable, if the value of autoLayout is false. Setting
  161.           this value to 0 establishes the specified row as not resizable,
  162.           regardless of the setting of autoLayout. Other values are taken
  163.           relative to all other rows. For example, if an SgGrid widget has
  164.           three rows, whose resize factors are set to 100, 100, and 200, the
  165.           first and second rows will occupy 1/4 (computed as:
  166.           100/(100+100+200)) of the space, while the the third row will occupy
  167.           one half of the available space.
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.                                                                         PPPPaaaaggggeeee 3333
  196.  
  197.  
  198.  
  199.